<?php
declare(strict_types=1);
namespace Service\ActivityService;
use Service\BaseService;
use App\Model\BbcModel\ActivitySend;

/**
 * 活动:买赠服务中心
 * @author chenshubo
 */
class ActivitySendService extends BaseService
{
    /**
     * 获取活动明细
     * @param array $actIds
     */
    public function getActDataList( array $actIds = [] )
    {
        if( empty($actIds) ) {
            return [];
        }
        return ActivitySend::instance()->whereIn('activity_id',$actIds)->get()->toArray();
    }
}